package com.yckj.day09;

/**
 * TODO 子类继承父类还实现多个接口
 *
 * @author shengyuee
 * @version 1.0
 * 2025/7/28 10:27
 */
public class Son extends Father implements ITeacher,IActor{
    @Override
    public void act() {
        System.out.println("我会演戏");
    }

    @Override
    public void playPiano() {
        System.out.println("我会弹琴，已经通过十级");
    }

    @Override
    public void playChess() {
        System.out.println("我是下棋高手");
    }

    @Override
    public void draw() {
        System.out.println("我很会画画");
    }

    @Override
    public void read() {
        System.out.println("我喜欢阅读");
    }
}
